package lol.clann.minecraft.springboot;

import com.google.auto.service.AutoService;
import lol.clann.minecraft.springboot.api.spi.plugin.PluginDefine;
import lol.clann.minecraft.springboot.bukkit.plugin.AdapterContext;

/**
 * SBP插件实例
 *
 *
 * @author pyz
 * @date 2019/6/1 10:15 AM
 */
@AutoService(PluginDefine.class)
public class SpringBootPlugin implements PluginDefine {
    public static final String id = "SpringBootPlugin";

    /**
     * 插件ID,唯一标识一个插件
     *
     * @return
     */
    @Override
    public String getId() {
        return id;
    }

    /**
     * 插件展示名
     *
     * @return
     */
    @Override
    public String getDisplayName() {
        return "SBP";
    }

    /**
     * 插件版本
     *
     * @return
     */
    @Override
    public String getVersion() {
        return AdapterContext.getSpringBootPluginVersion();
    }
}
